package org.maggioni.springsandbox.rehearsals.e02annotation.e03stereotypes;


import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {

	public static void main(String[] args) {
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext(Main.class.getName().replace(".","/")+"-applicationContext.xml");
		MyBean myBean = (MyBean) applicationContext.getBean("myBean");
		myBean.show();
	}

}
